index.html.vue 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591
  1. <template>
  2. <!-- 头部 -->
  3. <templateHead></templateHead>
  4. <!-- 菜单 -->
  5. <templateMenu></templateMenu>
  6. <!-- 内容 -->
  7. <div>
  8. <!--频道菜单-->
  9. <templateChannelMenu :skinId="skinId" :navigateData="navigateData.data" :templateData="testTemplateData2" :routeId="routeId"></templateChannelMenu>
  10. <!--广告组件-->
  11. <templateAd :adTag="'nmw_category_0001'" :skinId="skinId" :adData="adData"></templateAd>
  12. </div>
  13. <!-- 底部 -->
  14. <templateFoot></templateFoot>
  15. </template>
  16. <script setup>
  17. //0.加载全局模板组件 start---------------------------------------->
  18. //0.1全局通栏
  19. import templateHead from '@/components/template/sector/head/1200x200/1.vue'
  20. import templateMenu from '@/components/template/sector/menu/1200x130/1.vue'
  21. import templateFoot from '@/components/template/sector/foot/1200x580/1.vue'
  22. //0.2局部通栏
  23. //0.2.1广告组件
  24. import templateAd from '@/components/template/sector/body/ad/1200x90/1.vue'
  25. //0.2.2 频道菜单
  26. import templateChannelMenu from '@/components/template/sector/body/class/menu/1200x100/1.vue'
  27. //0.加载全局模板组件 end---------------------------------------->
  28. //1.获得基本信息单元 start---------------------------------------->
  29. //1.1获得页面依赖
  30. import { ref, onMounted } from 'vue';
  31. import { ElMessage } from 'element-plus';
  32. //1.2使用url查询导航池id
  33. const targetSegment = getRoutePath(1);
  34. const routeId = ref("");
  35. const getRouteId = await requestDataPromise('/web/getWebsiteRoute', {
  36. method: 'GET',
  37. query: {
  38. 'pinyin': targetSegment,
  39. },
  40. });
  41. if (getRouteId.code == 200) {
  42. routeId.value = getRouteId.data.category_id
  43. }
  44. //1.3获得频道页导航
  45. const navigateData = await requestDataPromise('/web/getWebsiteModelCategory', {
  46. method: 'GET',
  47. query: {
  48. 'placeid': 1,
  49. 'pid': routeId.value,
  50. 'num': 8
  51. },
  52. });
  53. //1.4获得pinia源
  54. import { useTemplateBaseStore } from '@/stores/templateBase'
  55. const templateBaseStore = useTemplateBaseStore()
  56. //1.5获得该页的皮肤id - 在每个组件中也是同样的获得方法
  57. const skinId = ref("")
  58. //1.6获得站点基本信息
  59. const responseStatus = await requestDataPromise('/web/getWebsiteAllinfo', {
  60. method: 'GET',
  61. query: {
  62. 'link_textnum':24,
  63. 'link_imgnum':18,
  64. 'link_footnum':4
  65. },
  66. });
  67. if (responseStatus.code == 200) {
  68. //1.6.1设置站点基本信息
  69. templateBaseStore.setWebSiteInfo(responseStatus.data)
  70. //1.6.2设置皮肤id
  71. skinId.value = templateBaseStore.webSiteInfo.website_foot.foot_info.template_id;
  72. }
  73. //1.7获得广告池
  74. const adData = ref([]);
  75. const adResponseStatus = await requestDataPromise('/web/getWebsiteAdvertisement', {
  76. method: 'GET',
  77. query: {},
  78. });
  79. if (adResponseStatus.code == 200) {
  80. templateBaseStore.setAdList(adResponseStatus.data)
  81. adData.value = adResponseStatus.data;
  82. }
  83. //1.8.seo
  84. const setData = await requestDataPromise('/web/getWebsiteCategoryHead', {
  85. method: 'GET',
  86. query: {
  87. 'catid': routeId.value
  88. },
  89. });
  90. let seoTitle = setData.data.seo_title;
  91. let seoDescription = setData.data.seo_description;
  92. let seoKeywords = setData.data.seo_keywords;
  93. let seoSuffix = setData.data.suffix;
  94. let seoName = setData.data.website_name;
  95. useSeoMeta({
  96. title: seoTitle + "_" + seoSuffix,
  97. meta: [
  98. { name: 'keywords', content: seoKeywords + "_" + seoName + "_" + seoSuffix, tagPriority: 10 },
  99. { name: 'description', content: seoDescription + "_" + seoName + "_" + seoSuffix, tagPriority: 10 }
  100. ]
  101. });
  102. //1.获得基本信息单元 end---------------------------------------->
  103. //2.页面数据 start---------------------------------------->
  104. //2.0 测试数据 后期移除
  105. const testTemplateData = {
  106. "sectorName": "text",
  107. "componentList": [
  108. {
  109. "component_type": 1,//1=新闻 2=广告
  110. "component_style": 1,//样式
  111. "sort": 1,//组件位置
  112. "data": {
  113. "alias":"一级导航名称",
  114. "category_id": 11,
  115. "pinyin": "nongyeshengchan",
  116. "text": [
  117. {
  118. "id": 2863,
  119. "title": "1以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  120. "islink": 0,
  121. "pinyin": "nongminxinnongcun/nongcunxinfangshe"
  122. },
  123. {
  124. "id": 50129,
  125. "title": "2以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  126. "islink": 0,
  127. "pinyin": "sannongzixun"
  128. },
  129. {
  130. "id": 50129,
  131. "title": "3以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  132. "islink": 0,
  133. "pinyin": "sannongzixun"
  134. },
  135. {
  136. "id": 2862,
  137. "title": "4以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  138. "islink": 0,
  139. "pinyin": "sannongzixun/buweidongtai"
  140. },
  141. {
  142. "id": 50126,
  143. "title": "5以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  144. "islink": 0,
  145. "pinyin": "sannongzixun"
  146. },
  147. {
  148. "id": 3976,
  149. "title": "6以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  150. "islink": 0,
  151. "pinyin": "sannongzixun"
  152. },
  153. {
  154. "id": 50189,
  155. "title": "7以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  156. "islink": 0,
  157. "pinyin": "nongminhezuoshe"
  158. },
  159. {
  160. "id": 50190,
  161. "title": "8以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  162. "islink": 0,
  163. "pinyin": "nongminhezuoshe"
  164. }
  165. ],
  166. "img": [
  167. {
  168. "id": 50129,
  169. "title": "1以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  170. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  171. "author": "linyuting123",
  172. "updated_at": "2025-05-30 13:50:54",
  173. "introduce": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  174. "islink": 0,
  175. "linkurl": "",
  176. "copyfrom": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  177. "cat_arr_id": "[1,201]",
  178. "catid": 201,
  179. "level": "[1,2,3]",
  180. "pinyin": "sannongzixun"
  181. },
  182. {
  183. "id": 50129,
  184. "title": "2以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  185. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  186. "author": "佚名",
  187. "updated_at": "2025-05-30 13:50:46",
  188. "introduce": "描述",
  189. "islink": 0,
  190. "linkurl": "",
  191. "copyfrom": "本网",
  192. "cat_arr_id": "[2]",
  193. "catid": 2,
  194. "level": "[2,3]",
  195. "pinyin": "sannongzixun"
  196. },
  197. {
  198. "id": 50129,
  199. "title": "3以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  200. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  201. "author": "佚名",
  202. "updated_at": "2025-05-30 13:50:45",
  203. "introduce": "描述",
  204. "islink": 0,
  205. "linkurl": "",
  206. "copyfrom": "本网",
  207. "cat_arr_id": "[1]",
  208. "catid": 1,
  209. "level": "[2]",
  210. "pinyin": "sannongzixun"
  211. },
  212. {
  213. "id": 50129,
  214. "title": "4以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  215. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  216. "author": "佚名",
  217. "updated_at": "2025-05-30 13:50:44",
  218. "introduce": "描述",
  219. "islink": 0,
  220. "linkurl": "",
  221. "copyfrom": "本网",
  222. "cat_arr_id": "[11]",
  223. "catid": 11,
  224. "level": "[2]",
  225. "pinyin": "xinnongcun"
  226. },
  227. {
  228. "id": 50129,
  229. "title": "5以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  230. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  231. "author": "佚名",
  232. "updated_at": "2025-05-30 13:50:43",
  233. "introduce": "描述",
  234. "islink": 0,
  235. "linkurl": "",
  236. "copyfrom": "本网",
  237. "cat_arr_id": "[14,240]",
  238. "catid": 240,
  239. "level": "[2,3]",
  240. "pinyin": "sannongzixun"
  241. },
  242. {
  243. "id": 50129,
  244. "title": "6以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙6",
  245. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  246. "author": "佚名",
  247. "updated_at": "2025-04-16 11:04:29",
  248. "introduce": "描述",
  249. "islink": 0,
  250. "linkurl": "",
  251. "copyfrom": "本网",
  252. "cat_arr_id": null,
  253. "catid": 36,
  254. "level": "[2]",
  255. "pinyin": "sannongzixun"
  256. }
  257. ]
  258. }
  259. },
  260. {
  261. "component_type": 1,//1=新闻 2=广告
  262. "component_style": 1,//样式
  263. "sort": 1,//组件位置
  264. "data": {
  265. "alias":"一级导航名称2",
  266. "category_id": 11,
  267. "pinyin": "sannongzixun/zhengcefagui",
  268. "text": [
  269. {
  270. "id": 2863,
  271. "title": "1以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  272. "islink": 0,
  273. "pinyin": "nongminxinnongcun/nongcunxinfangshe"
  274. },
  275. {
  276. "id": 50129,
  277. "title": "2以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  278. "islink": 0,
  279. "pinyin": "sannongzixun"
  280. },
  281. {
  282. "id": 50129,
  283. "title": "3以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  284. "islink": 0,
  285. "pinyin": "sannongzixun"
  286. },
  287. {
  288. "id": 2862,
  289. "title": "4以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  290. "islink": 0,
  291. "pinyin": "sannongzixun/buweidongtai"
  292. },
  293. {
  294. "id": 50126,
  295. "title": "5以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  296. "islink": 0,
  297. "pinyin": "sannongzixun"
  298. },
  299. {
  300. "id": 3976,
  301. "title": "6以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  302. "islink": 0,
  303. "pinyin": "sannongzixun"
  304. },
  305. {
  306. "id": 50189,
  307. "title": "7以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  308. "islink": 0,
  309. "pinyin": "nongminhezuoshe"
  310. },
  311. {
  312. "id": 50190,
  313. "title": "8以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  314. "islink": 0,
  315. "pinyin": "nongminhezuoshe"
  316. }
  317. ],
  318. "img": [
  319. {
  320. "id": 50129,
  321. "title": "1以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  322. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  323. "author": "linyuting123",
  324. "updated_at": "2025-05-30 13:50:54",
  325. "introduce": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  326. "islink": 0,
  327. "linkurl": "",
  328. "copyfrom": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  329. "cat_arr_id": "[1,201]",
  330. "catid": 201,
  331. "level": "[1,2,3]",
  332. "pinyin": "sannongzixun"
  333. },
  334. {
  335. "id": 50129,
  336. "title": "2以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  337. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  338. "author": "佚名",
  339. "updated_at": "2025-05-30 13:50:46",
  340. "introduce": "描述",
  341. "islink": 0,
  342. "linkurl": "",
  343. "copyfrom": "本网",
  344. "cat_arr_id": "[2]",
  345. "catid": 2,
  346. "level": "[2,3]",
  347. "pinyin": "sannongzixun"
  348. },
  349. {
  350. "id": 50129,
  351. "title": "3以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  352. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  353. "author": "佚名",
  354. "updated_at": "2025-05-30 13:50:45",
  355. "introduce": "描述",
  356. "islink": 0,
  357. "linkurl": "",
  358. "copyfrom": "本网",
  359. "cat_arr_id": "[1]",
  360. "catid": 1,
  361. "level": "[2]",
  362. "pinyin": "sannongzixun"
  363. },
  364. {
  365. "id": 50129,
  366. "title": "4以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  367. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  368. "author": "佚名",
  369. "updated_at": "2025-05-30 13:50:44",
  370. "introduce": "描述",
  371. "islink": 0,
  372. "linkurl": "",
  373. "copyfrom": "本网",
  374. "cat_arr_id": "[11]",
  375. "catid": 11,
  376. "level": "[2]",
  377. "pinyin": "xinnongcun"
  378. },
  379. {
  380. "id": 50129,
  381. "title": "5以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  382. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  383. "author": "佚名",
  384. "updated_at": "2025-05-30 13:50:43",
  385. "introduce": "描述",
  386. "islink": 0,
  387. "linkurl": "",
  388. "copyfrom": "本网",
  389. "cat_arr_id": "[14,240]",
  390. "catid": 240,
  391. "level": "[2,3]",
  392. "pinyin": "sannongzixun"
  393. },
  394. {
  395. "id": 50129,
  396. "title": "6以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙6",
  397. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  398. "author": "佚名",
  399. "updated_at": "2025-04-16 11:04:29",
  400. "introduce": "描述",
  401. "islink": 0,
  402. "linkurl": "",
  403. "copyfrom": "本网",
  404. "cat_arr_id": null,
  405. "catid": 36,
  406. "level": "[2]",
  407. "pinyin": "sannongzixun"
  408. }
  409. ]
  410. }
  411. },
  412. {
  413. "component_type": 1,//1=新闻 2=广告
  414. "component_style": 1,//样式
  415. "sort": 3,//组件位置
  416. "data": {
  417. "alias":"一级导航名称3",
  418. "category_id": 11,
  419. "pinyin": "sannongzixun/zhengcefagui",
  420. "text": [
  421. {
  422. "id": 2863,
  423. "title": "1以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  424. "islink": 0,
  425. "pinyin": "nongminxinnongcun/nongcunxinfangshe"
  426. },
  427. {
  428. "id": 50129,
  429. "title": "2以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  430. "islink": 0,
  431. "pinyin": "sannongzixun"
  432. },
  433. {
  434. "id": 50129,
  435. "title": "3以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  436. "islink": 0,
  437. "pinyin": "sannongzixun"
  438. },
  439. {
  440. "id": 2862,
  441. "title": "4以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  442. "islink": 0,
  443. "pinyin": "sannongzixun/buweidongtai"
  444. },
  445. {
  446. "id": 50126,
  447. "title": "5以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  448. "islink": 0,
  449. "pinyin": "sannongzixun"
  450. },
  451. {
  452. "id": 3976,
  453. "title": "6以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  454. "islink": 0,
  455. "pinyin": "sannongzixun"
  456. },
  457. {
  458. "id": 50189,
  459. "title": "7以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  460. "islink": 0,
  461. "pinyin": "nongminhezuoshe"
  462. },
  463. {
  464. "id": 50190,
  465. "title": "8以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  466. "islink": 0,
  467. "pinyin": "nongminhezuoshe"
  468. }
  469. ],
  470. "img": [
  471. {
  472. "id": 50129,
  473. "title": "1以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  474. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  475. "author": "linyuting123",
  476. "updated_at": "2025-05-30 13:50:54",
  477. "introduce": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  478. "islink": 0,
  479. "linkurl": "",
  480. "copyfrom": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  481. "cat_arr_id": "[1,201]",
  482. "catid": 201,
  483. "level": "[1,2,3]",
  484. "pinyin": "sannongzixun"
  485. },
  486. {
  487. "id": 50129,
  488. "title": "2以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  489. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  490. "author": "佚名",
  491. "updated_at": "2025-05-30 13:50:46",
  492. "introduce": "描述",
  493. "islink": 0,
  494. "linkurl": "",
  495. "copyfrom": "本网",
  496. "cat_arr_id": "[2]",
  497. "catid": 2,
  498. "level": "[2,3]",
  499. "pinyin": "sannongzixun"
  500. },
  501. {
  502. "id": 50129,
  503. "title": "3以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  504. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  505. "author": "佚名",
  506. "updated_at": "2025-05-30 13:50:45",
  507. "introduce": "描述",
  508. "islink": 0,
  509. "linkurl": "",
  510. "copyfrom": "本网",
  511. "cat_arr_id": "[1]",
  512. "catid": 1,
  513. "level": "[2]",
  514. "pinyin": "sannongzixun"
  515. },
  516. {
  517. "id": 50129,
  518. "title": "4以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  519. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  520. "author": "佚名",
  521. "updated_at": "2025-05-30 13:50:44",
  522. "introduce": "描述",
  523. "islink": 0,
  524. "linkurl": "",
  525. "copyfrom": "本网",
  526. "cat_arr_id": "[11]",
  527. "catid": 11,
  528. "level": "[2]",
  529. "pinyin": "xinnongcun"
  530. },
  531. {
  532. "id": 50129,
  533. "title": "5以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  534. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  535. "author": "佚名",
  536. "updated_at": "2025-05-30 13:50:43",
  537. "introduce": "描述",
  538. "islink": 0,
  539. "linkurl": "",
  540. "copyfrom": "本网",
  541. "cat_arr_id": "[14,240]",
  542. "catid": 240,
  543. "level": "[2,3]",
  544. "pinyin": "sannongzixun"
  545. },
  546. {
  547. "id": 50129,
  548. "title": "6以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙6",
  549. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  550. "author": "佚名",
  551. "updated_at": "2025-04-16 11:04:29",
  552. "introduce": "描述",
  553. "islink": 0,
  554. "linkurl": "",
  555. "copyfrom": "本网",
  556. "cat_arr_id": null,
  557. "catid": 36,
  558. "level": "[2]",
  559. "pinyin": "sannongzixun"
  560. }
  561. ]
  562. }
  563. },
  564. ],
  565. "ad": {
  566. "ad_tag": "nmw_index_0003"
  567. }
  568. }
  569. //静态链接测试数据
  570. const testTemplateData2 = {
  571. "sectorName": "linkSector",
  572. "componentList": [
  573. {
  574. "component_type": 3,
  575. "component_style": 1,
  576. "sort": 1,
  577. "componentData": {}
  578. }
  579. ],
  580. "sort": 4
  581. }
  582. //2.页面数据 end---------------------------------------->
  583. </script>
  584. <style lang="less" scoped>
  585. @import '@/assets/css/class.less';
  586. </style>